import request from '@/utils/request'

// 新增出库管理
export function addOutboundDetails(data) {
  return request({
    url: '/outbound/details',
    method: 'post',
    data: data
  })
}

export function getDetails(data) {
  return request({
    url: '/outbound/details/getDetails?outboundCode=' + data,
    method: 'get',
  })
}

// 查询销售出库详细
export function listOdSaleDetails(query) {
  return request({
    url: '/outbound/outbound/listOdSaleDetails',
    method: 'get',
    params: query
  })
}

// 删除【请填写功能名称】
export function delDetails(outboundCode) {
  return request({
    url: '/outbound/details/' + outboundCode,
    method: 'delete'
  })
}
